import React ,{useEffect} from 'react'
import { fn } from './utils'
type Props = {}
// 函数
const App = (props: Props) => {
const difference:number=10
const arr=(arr1:number)=>{
   console.log(arr1);
   
}
// 排序
arr(difference)
useEffect(()=>{
  console.log(fn([1,4,6,7,2]));
  
},[])
  return (
    <div>App</div>
  )
}

export default App
